﻿package org.net.UMsg
{
	import flash.utils.IDataOutput;
	
	//.买道具
    //@12(short)|length(short)|propertyname(utf)|count(short)|#
	public class UMsg12 extends UMsg
	{
		public var proName:String = "";
		public var count:int = 0;
		
		public function UMsg12(proName:String,count:int)
		{
			type = 12;
			this.proName = proName
			this.count=count
		}
  
		public override function write(dis:IDataOutput):void
		{
			dis.writeUTF(proName);
			dis.writeShort(count);
		}
	}
}